package com.linkai.dto;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

/**
 * <p>
 * 
 * </p>
 *
 * @author yamon
 * @since 2020-12-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value="Bproduct对象", description="")
public class AdminBproductDto implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "bpro_id", type = IdType.AUTO)
    private Integer bproId;

    @ApiModelProperty(value = "商品名称")
    private String bproTitle;

    @ApiModelProperty(value = "商品描述")
    private String bproDesc;

    @ApiModelProperty(value = "外键 产地")
    private Integer borigId;

    @ApiModelProperty(value = "单位")
    private String bproUnit;

    @ApiModelProperty(value = "尺寸、规格")
    private Integer bsizeId;

    private Integer colorId;

    @ApiModelProperty(value = "进价")
    private BigDecimal binputPrice;

    @ApiModelProperty(value = "售价")
    private BigDecimal boutputPrice;

    @ApiModelProperty(value = "预计手机")
    private BigDecimal bpredictPrice;

    @ApiModelProperty(value = "库存信息")
    private Integer bstoId;

    @ApiModelProperty(value = "备注")
    private String bbackup;

    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "分类外键")
    private Integer bcatId;

    @ApiModelProperty(value = "商品库存")
    private Integer bproNum;


}
